﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ECS.Framework;

namespace E_ICS.E_ICS
{
    public partial class frmStationsetup : Form
    {
        int _selectedIndex;
        public frmStationsetup()
        {
            InitializeComponent();
        }
        private void comboBox1_SelectedValueChanged(object sender, EventArgs e)
        {
            uclGlobal a = new uclGlobal();
            uclStation b = new uclStation();
            _selectedIndex = comboBox1.SelectedIndex;
            if (_selectedIndex == 0)
            {
                panel2.Controls.Clear();
                panel2.Controls.Add(a);
               

            }
            else 
            {
                panel2.Controls.Clear();
                panel2.Controls.Add(b);
            }
        }

        private void frmStationsetup_Load(object sender, EventArgs e)
        {

        }
        
        private void SetScreen()
        {
            this.Text = CommonResourceString.GetResourseValue("scn_Stationsetup_frm_name");
            label1.Text = CommonResourceString.GetResourseValue("scn_Stationsetup_label1");
            label3.Text = CommonResourceString.GetResourseValue("scn_Stationsetup_label3");
                              
          
        }
    }
}
